//
// Decompiled by Jadx - 699ms
//
package cc;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.sevenheaven.segmentcontrol.SegmentControl;
import g.d;
import me.jingbin.library.ByRecyclerView;
import org.greenrobot.greendao.database.a;

public final class c {
    public final int a;
    public final Object b;
    public Object c;
    public final Object d;
    public final Object e;
    public final Object f;
    public Object g;
    public Object h;
    public Object i;

    public c(LinearLayout linearLayout, LinearLayout linearLayout2, SegmentControl segmentControl, ImageView imageView, ByRecyclerView byRecyclerView, TextView textView, ImageView imageView2, ImageView imageView3) {
        this.a = 0;
        this.b = linearLayout;
        this.e = linearLayout2;
        this.f = segmentControl;
        this.d = imageView;
        this.i = byRecyclerView;
        this.c = textView;
        this.g = imageView2;
        this.h = imageView3;
    }

    public final org.greenrobot.greendao.database.c j() {
        if (((org.greenrobot.greendao.database.c) this.c) == null) {
            String str = (String) this.e;
            String[] strArr = (String[]) this.d;
            int i = d.a;
            String str2 = "\"" + str + '\"';
            StringBuilder sb = new StringBuilder("DELETE FROM ");
            sb.append(str2);
            if (strArr != null && strArr.length > 0) {
                sb.append(" WHERE ");
                for (int i2 = 0; i2 < strArr.length; i2++) {
                    String str3 = strArr[i2];
                    sb.append(str2);
                    sb.append(".\"");
                    sb.append(str3);
                    sb.append("\"=?");
                    if (i2 < strArr.length - 1) {
                        sb.append(',');
                    }
                }
            }
            org.greenrobot.greendao.database.c f = ((a) this.b).f(sb.toString());
            synchronized (this) {
                if (((org.greenrobot.greendao.database.c) this.c) == null) {
                    this.c = f;
                }
            }
            if (((org.greenrobot.greendao.database.c) this.c) != f) {
                f.close();
            }
        }
        return (org.greenrobot.greendao.database.c) this.c;
    }

    public final LinearLayout k() {
        int i = this.a;
        Object obj = this.b;
        switch (i) {
            case 0:
                return (LinearLayout) obj;
            case 1:
                return (LinearLayout) obj;
            case 2:
                return (LinearLayout) obj;
            default:
                return (LinearLayout) obj;
        }
    }

    public c(LinearLayout linearLayout, TextView textView, TextView textView2, TextView textView3, View view, TextView textView4, View view2, View view3, int i) {
        this.a = i;
        this.b = linearLayout;
        this.c = textView;
        this.e = textView2;
        this.f = textView3;
        this.d = view;
        this.g = textView4;
        this.h = view2;
        this.i = view3;
    }

    public c(a aVar, String str, String[] strArr, String[] strArr2) {
        this.a = 4;
        this.b = aVar;
        this.e = str;
        this.f = strArr;
        this.d = strArr2;
    }
}
